﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace King.Engine.GameObjects.Hud.Menu
{
    /// <summary>
    /// A menu, submenu, or menu item
    /// </summary>
    public interface IMenuNode : IEnumerable<IMenuNode>
    {
        MenuTree Parent { get; set; }
        string Text { get; }
        string Description { get; }

        void OnInput(MenuControl control);

    }

    public enum MenuControl
    {
        Up,
        Down,
        Left,
        Right,
        Select,
        Back
    }
}
